import request from "@/utils/axios-request";
// 注册
export const register_API = (params) => {
  return request({
    method: "POST",
    url: "/h5/user/register",
    data: params,
  });
};

// 登录
export const login_API = (params) => {
  return request({
    method: "POST",
    url: "/h5/user/login",
    data: params,
  });
};

// 获取用户信息
export const currentUser_API = () => {
  return request({
    url: "/h5/user/currentUser",
    method: "get",
  })
};

